package physicalobjects;

import forces.Force;

/**
 * This class represents a unmoving mass.
 *
 * @author Kathleen Lan, Seon Kang
 */

public class FixedMass extends Mass {

    /**
     *
     * @param id 
     * @param x 
     * @param y 
     * @param mass 
     */
    public FixedMass (int id, double x, double y, double mass) {
        super(id, x, y, mass);
    }

    @Override
    public void applyForce (Force f) {
        // this function is empty because fixed masses are immune to other
        // forces.
    }
}
